package com.zjuee.service.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjuee.base.model.common.auth.RoleMenu;
import com.zjuee.service.auth.vo.RoleMenuVo;

/**
 * @author wu liang
 * @since 1.0
 */
public interface RoleMenuService extends IService<RoleMenu> {


    /**
     * 新增
     *
     * @param type Object
     * @return Object
     */
    Long add(RoleMenu type);

    /**
     * 根据角色Id删除该角色对应的菜单权限
     *
     * @param roleId Long
     * @return Boolean
     */
    Boolean deleteByRoleId(Long roleId);


    Boolean update(RoleMenuVo roleMenuVo);

}
